package com.fofia.iotweb.web.dbdomain.models.admin;

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @author yushuo
 * @className
 * @descripton TODO
 * @date 2021/2/27 12:08
 **/
@NoArgsConstructor
@AllArgsConstructor
@Data
@Table("sys_user_position")
public class SysUserPosition implements Serializable {

    /**
     * 用户id
     *
     * @mbg.generated 2021-02-25 13:51:44
     */
    @Id(value = "id",keyType = KeyType.Auto)
    private int id;

    private long userId;

    /**
     * 岗位编码
     *
     * @mbg.generated 2021-02-25 13:51:44
     */
    private long positionId;

    /**
     * 岗位名称
     *
     * @mbg.generated 2021-02-25 13:51:44
     */
    private String createBy;

    /**
     * 显示顺序
     *
     * @mbg.generated 2021-02-25 13:51:44
     */
    private Date createTime;

}
